]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowMenu: Use consistent terminology
authornitinosiris <nitinwartkar58@gmail.com>
Thu, 6 May 2021 15:38:23 +0000 (21:08 +0530)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Aug 2021 22:43:12 +0000 (00:43 +0200)
Because we don't have a dock or panel to minimize to, the `minimize`
shortcut was renamed to `hide` a long time ago.

Likewise, `unmaximize` appears as `restore` in keyboard shortcuts.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4088

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1834>

js/ui/windowMenu.js

index bb6a8df7b1a33f7d40253da75db48d7b6d293e6d..27cecdac23776ac99a73255bf84c5b86bc52de52 100644 (file)
@@ -24,14 +24,14 @@ var WindowMenu = class extends PopupMenu.PopupMenu {
 
         let item;
 
-        item = this.addAction(_("Minimize"), () => {
+        item = this.addAction(_('Hide'), () => {
             window.minimize();
         });
         if (!window.can_minimize())
             item.setSensitive(false);
 
         if (window.get_maximized()) {
-            item = this.addAction(_("Unmaximize"), () => {
+            item = this.addAction(_('Restore'), () => {
                 window.unmaximize(Meta.MaximizeFlags.BOTH);
             });
         } else {